﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200020F RID: 527
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChessRogueCheatRollCsReq : IMessage<ChessRogueCheatRollCsReq>, IMessage, IEquatable<ChessRogueCheatRollCsReq>, IDeepCloneable<ChessRogueCheatRollCsReq>, IBufferMessage
	{
		// Token: 0x170006E4 RID: 1764
		// (get) Token: 0x0600179B RID: 6043 RVA: 0x000434D5 File Offset: 0x000416D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChessRogueCheatRollCsReq> Parser
		{
			get
			{
				return ChessRogueCheatRollCsReq._parser;
			}
		}

		// Token: 0x170006E5 RID: 1765
		// (get) Token: 0x0600179C RID: 6044 RVA: 0x000434DC File Offset: 0x000416DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChessRogueCheatRollCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170006E6 RID: 1766
		// (get) Token: 0x0600179D RID: 6045 RVA: 0x000434EE File Offset: 0x000416EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChessRogueCheatRollCsReq.Descriptor;
			}
		}

		// Token: 0x0600179E RID: 6046 RVA: 0x000434F5 File Offset: 0x000416F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueCheatRollCsReq()
		{
		}

		// Token: 0x0600179F RID: 6047 RVA: 0x000434FD File Offset: 0x000416FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueCheatRollCsReq(ChessRogueCheatRollCsReq other) : this()
		{
			this.iEIOFDMMMHH_ = other.iEIOFDMMMHH_;
			this.diceSurfaceId_ = other.diceSurfaceId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060017A0 RID: 6048 RVA: 0x0004352E File Offset: 0x0004172E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChessRogueCheatRollCsReq Clone()
		{
			return new ChessRogueCheatRollCsReq(this);
		}

		// Token: 0x170006E7 RID: 1767
		// (get) Token: 0x060017A1 RID: 6049 RVA: 0x00043536 File Offset: 0x00041736
		// (set) Token: 0x060017A2 RID: 6050 RVA: 0x0004353E File Offset: 0x0004173E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IEIOFDMMMHH
		{
			get
			{
				return this.iEIOFDMMMHH_;
			}
			set
			{
				this.iEIOFDMMMHH_ = value;
			}
		}

		// Token: 0x170006E8 RID: 1768
		// (get) Token: 0x060017A3 RID: 6051 RVA: 0x00043547 File Offset: 0x00041747
		// (set) Token: 0x060017A4 RID: 6052 RVA: 0x0004354F File Offset: 0x0004174F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DiceSurfaceId
		{
			get
			{
				return this.diceSurfaceId_;
			}
			set
			{
				this.diceSurfaceId_ = value;
			}
		}

		// Token: 0x060017A5 RID: 6053 RVA: 0x00043558 File Offset: 0x00041758
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChessRogueCheatRollCsReq);
		}

		// Token: 0x060017A6 RID: 6054 RVA: 0x00043566 File Offset: 0x00041766
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChessRogueCheatRollCsReq other)
		{
			return other != null && (other == this || (this.IEIOFDMMMHH == other.IEIOFDMMMHH && this.DiceSurfaceId == other.DiceSurfaceId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060017A7 RID: 6055 RVA: 0x000435A4 File Offset: 0x000417A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IEIOFDMMMHH != 0U)
			{
				num ^= this.IEIOFDMMMHH.GetHashCode();
			}
			if (this.DiceSurfaceId != 0U)
			{
				num ^= this.DiceSurfaceId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060017A8 RID: 6056 RVA: 0x000435FC File Offset: 0x000417FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060017A9 RID: 6057 RVA: 0x00043604 File Offset: 0x00041804
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060017AA RID: 6058 RVA: 0x00043610 File Offset: 0x00041810
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IEIOFDMMMHH != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.IEIOFDMMMHH);
			}
			if (this.DiceSurfaceId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.DiceSurfaceId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060017AB RID: 6059 RVA: 0x0004366C File Offset: 0x0004186C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IEIOFDMMMHH != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IEIOFDMMMHH);
			}
			if (this.DiceSurfaceId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DiceSurfaceId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060017AC RID: 6060 RVA: 0x000436C4 File Offset: 0x000418C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChessRogueCheatRollCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IEIOFDMMMHH != 0U)
			{
				this.IEIOFDMMMHH = other.IEIOFDMMMHH;
			}
			if (other.DiceSurfaceId != 0U)
			{
				this.DiceSurfaceId = other.DiceSurfaceId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060017AD RID: 6061 RVA: 0x00043714 File Offset: 0x00041914
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060017AE RID: 6062 RVA: 0x00043720 File Offset: 0x00041920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.DiceSurfaceId = input.ReadUInt32();
					}
				}
				else
				{
					this.IEIOFDMMMHH = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040009D1 RID: 2513
		private static readonly MessageParser<ChessRogueCheatRollCsReq> _parser = new MessageParser<ChessRogueCheatRollCsReq>(() => new ChessRogueCheatRollCsReq());

		// Token: 0x040009D2 RID: 2514
		private UnknownFieldSet _unknownFields;

		// Token: 0x040009D3 RID: 2515
		public const int IEIOFDMMMHHFieldNumber = 4;

		// Token: 0x040009D4 RID: 2516
		private uint iEIOFDMMMHH_;

		// Token: 0x040009D5 RID: 2517
		public const int DiceSurfaceIdFieldNumber = 9;

		// Token: 0x040009D6 RID: 2518
		private uint diceSurfaceId_;
	}
}
